package com.whutosa.template.server.utils;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * Created by 19110 on 2016/7/6.
 */
public class TokenUtil {

    public static String genToken(String sid) {
        return DigestUtils.md5Hex(sid + System.currentTimeMillis());
    }
}
